 
/**
 * This class will Print following output using for loop
 * 1
 * 22
 * 333
 * 4444
 * 55555 
 * 
 * @author Shawn Rajput
 *
 */
public class LoopNumReprint {

	public static void main(String[] args) {
		
		for(short a=1; a<=5; a++)

		{
			for(short b=1; b<=a; b++)
			
				{
				System.out.print(a);
				}
				
				System.out.println();
		}
	}
}